﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
       

        static void Main(string[] args)
        {
           Console.WriteLine("想要了解的动物");
            string change = Console.ReadLine();
          
            {
                if (change.Equals("狗")){
                   Dog a = new Dog();
                    Console.WriteLine("狗的名字");
                   a.Dogcolor = Console.ReadLine();
                    Console.WriteLine("狗的颜色");
                    a.DogName = Console.ReadLine();
                    a.Dogbehavior();
                    
                 }
            if (change.Equals("鱼"))
           {
                Fish b = new Fish();
                
                Console.WriteLine("鱼的名字");
                b.Fishcolor = Console.ReadLine();
                Console.WriteLine("鱼的颜色");
                b.FishName = Console.ReadLine();
                b.Fishbehavior();
                
           }
           else
            {
               Console.WriteLine("没有这个选项");
            }
            }
        }
  }
}